package tree;

class TreeNodec {
    Integer val;
    TreeNodec left;
    TreeNodec right;

    TreeNodec() {
    }

    TreeNodec(Integer val) {
        this.val = val;
    }

    TreeNodec(Integer val, TreeNodec left, TreeNodec right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}